<?php 
class Core_API_Controller 
	extends Zend_Rest_Controller
{
	protected $_xml;
	
    public function init()
    {
	    $root	= $this->getRequest()->getControllerName() .'API';
    	$this->_xml = simplexml_load_string('<?xml version="1.0" encoding="utf-8" standalone="yes"?><' . $root . '></' . $root . '>');	
    	$this->_xml->addAttribute('xmlns', 'gmscreen');    
	}    
    
    public function postDispatch()
    {
		$this->getResponse()->appendBody($this->_xml->asXML());
    }
    
    public function indexAction()
    {
    	
    }
    
    public function getAction()
    {
    	
    }
    
    public function postAction()
    {
    	
    }
    
    public function putAction()
    {
    	
    }
    
    public function deleteAction()
    {
    	
    }
}